package com.atguigu.boot.admin.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author : leimingchao
 * @date Date : 2021年11月19日 21:10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "user")
public class User {

    @TableField(exist = false)
    private String username;

    @TableField(exist = false)
    private String password;

    /**
     * 以下是数据库的字段
     */

    private Long id;
    private String name;
    private Integer age;
    private String email;
}
